package org.siming.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.siming.dao.po.YxBanner;
import org.siming.dao.po.YxBannerExample;

public interface YxBannerMapper {
    long countByExample(YxBannerExample example);

    int deleteByExample(YxBannerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(YxBanner record);

    int insertSelective(YxBanner record);

    List<YxBanner> selectByExample(YxBannerExample example);

    YxBanner selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") YxBanner record, @Param("example") YxBannerExample example);

    int updateByExample(@Param("record") YxBanner record, @Param("example") YxBannerExample example);

    int updateByPrimaryKeySelective(YxBanner record);

    int updateByPrimaryKey(YxBanner record);
}